package com.order.api.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * orders
 * @author 
 */
@ApiModel(value="com.order.api.po.Orders订单信息")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Orders implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id")
    private Integer userId;

    /**
     * 商品id
     */
    @ApiModelProperty(value="商品id")
    private Integer shopId;

    /**
     * 订单数量
     */
    @ApiModelProperty(value="订单数量")
    private Integer orderQuantity;

    /**
     * 订单地址
     */
    @ApiModelProperty(value="订单地址")
    private String orderAddress;

    /**
     * 状态（0:有效1:无效）
     */
    @ApiModelProperty(value="状态（0:有效1:无效）")
    private Integer state;

    private static final long serialVersionUID = 1L;
}